#!/bin/bash
if [ x$1 != x ];then
    git add .
    git commit -m "$1"
    git push
    echo "Succeed!!!"
else 
    echo "git commit -m "" 缺少参数"
fi
